It has an infra-red sensor that looks for hand movements up to about 4 inches away from the phone, and it uses the front-side camera to figure out if it's front of the user's face.
And I think Arne has done an outstanding job of saying we've got to get past the old dogmas -- whether it's the dogmas on the liberal side or the conservative side -- and figure out what works.